package com.uppfind.framework.dao.api.common;

public enum TermType {

    and(1, "and"),
    eq(2, "="),
    not_eq(3, "!="),
    like(4, "like"),
    not_like(5, "not like"),
    gt(6, ">"),
    lt(7, "<"),
    gte(8, ">="),
    lte(9, "<="),
    in(10, "in"),
    notin(11, "notin"),
    nempty(12, "!=''"),
    is_null(13, "is null"),
    not_null(14, "not null"),
    between(15, "between"),
    not_between(16, "not between");

    public Integer code;
    public String value;

    TermType(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getValue() {
        return this.value;
    }

}
